package com.hefei.hight;

import java.util.Date;

/**
 * @author caizhengjun
 * @date 2020/9/4 8:48 下午
 */
public class Test03 {
    public static void main(String[] args) {
        Date date = new Date();
        System.out.println("date = " + date);

        System.out.println("System.currentTimeMillis() = " + System.currentTimeMillis());

        System.out.println("date.getTime() = " + date.getTime());

        Date date1 = new Date(date.getTime());
        System.out.println("date1.getTime() = " + date1.getTime());
        System.out.println("date1.toString() = " + date1.toString());

    }
}
